package com.yunhe.device.model.base;

import com.yunhe.common.annotation.NameTitle;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @ClassName EquipmentAttributesVo
 * @Description TODO
 * @Author HeTao
 * @Date 2021/7/15 12:44
 * @Version 1.0
 **/
@ApiModel(value = "EquipmentAttributesVo", description = "设备属性查询对象")
@Data
public class EquipmentAttributesVo implements Serializable {
    
    private static final long serialVersionUID = -8401574553226953989L;
    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("设备属性编码")
    private String name;

    @ApiModelProperty("设备属性名称")
    private String title;

    @ApiModelProperty("组件类型")
    private String componentType;

    @ApiModelProperty("组件类型Title")
    @NameTitle(nameCode = "componentType",nameType = "ITEM")
    private String componentTypeTitle;

    @ApiModelProperty("创建时间")
    private String createTime;

    @ApiModelProperty("更新时间")
    private String updateTime;

    @ApiModelProperty("状态")
    private String activity;

    @ApiModelProperty("状态Title")
    @NameTitle(nameCode = "activity",nameType = "ITEM")
    private String activityTitle;

    @ApiModelProperty("接口路径")
    private String url;

    @ApiModelProperty("是否必填")
    private boolean required;
}
